#include "Bill.h"  

  

Bill::Bill(const std::string& date, double amount, const std::string& category, const std::string& note)  

    : date_(date), amount_(amount), category_(category), note_(note), income_(amount > 0) {  

}  

  

bool Bill::isIncome() const {  

    return income_;  

}
